<template>
	<div class="Detail">
		<h1>当前商品ID{{ $route.params.id }}</h1>
		<button @click="$router.back()">返回</button>
	</div>
</template>

<script>
export default {
	name: 'Detail',
	components: {},
	data() {
		return {};
	},
	watch: {},
	computed: {},
	created() {

	},
	mounted() {

	},
	methods: {}
};
</script>

<style lang="scss" scoped>
.Detail {
  text-align: center;

  button {
    border: none;
    outline: none;
    background-color: #60609c;
    color: #fff;
    width: 60px;
    height: 36px;
  }
}
</style>